[INFO] cloning repository https://github.com/ivline11/hw4
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ivline11/hw4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivline11%2Fhw4", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivline11%2Fhw4'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0ecf52ca1fbf7c0c6debc5bb048d85d01e1cde3d
[INFO] checking ivline11/hw4 against master#43a4909ee98ed4d006d9d773f5d94dc58e34f846 for pr-157576
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fivline11%2Fhw4" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] [stderr] Updating files:  96% (878/911)
Updating files:  97% (884/911)
Updating files:  98% (893/911)
Updating files:  99% (902/911)
Updating files: 100% (911/911)
Updating files: 100% (911/911), done.
[INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/ivline11/hw4
[INFO] finished tweaking git repo https://github.com/ivline11/hw4
[INFO] tweaked toml for git repo https://github.com/ivline11/hw4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ivline11/hw4 on toolchain 43a4909ee98ed4d006d9d773f5d94dc58e34f846
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ivline11/hw4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 6ec4ad76b9d55e529eb70cef2e635df2c9c38a58824ccf9dacd9366d33408e51
[INFO] running `Command { std: "docker" "start" "6ec4ad76b9d55e529eb70cef2e635df2c9c38a58824ccf9dacd9366d33408e51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6ec4ad76b9d55e529eb70cef2e635df2c9c38a58824ccf9dacd9366d33408e51" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6ec4ad76b9d55e529eb70cef2e635df2c9c38a58824ccf9dacd9366d33408e51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "6ec4ad76b9d55e529eb70cef2e635df2c9c38a58824ccf9dacd9366d33408e51" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking hex-literal v0.4.1
[INFO] [stderr]    Compiling cc v1.2.22
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling hw4 v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/bin/signtool.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, Read, Write};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/bin/signtool.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/bin/signtool.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{self, Read, Write};
[INFO] [stdout]   |                     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/bin/signtool.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `private_key_path`
[INFO] [stdout]   --> src/bin/signtool.rs:78:38
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn sign_executable(input_path: &str, private_key_path: &str, output_path: &str) -> io::Result<()> {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_key_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `private_key_path`
[INFO] [stdout]   --> src/bin/signtool.rs:78:38
[INFO] [stdout]    |
[INFO] [stdout] 78 | fn sign_executable(input_path: &str, private_key_path: &str, output_path: &str) -> io::Result<()> {
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_private_key_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `public_key_path`
[INFO] [stdout]    --> src/bin/signtool.rs:106:40
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn verify_executable(input_path: &str, public_key_path: &str) -> io::Result<VerificationResult> {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `public_key_path`
[INFO] [stdout]    --> src/bin/signtool.rs:106:40
[INFO] [stdout]     |
[INFO] [stdout] 106 | fn verify_executable(input_path: &str, public_key_path: &str) -> io::Result<VerificationResult> {
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SIGNATURE_SECTION_NAME` is never used
[INFO] [stdout]  --> src/bin/signtool.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const SIGNATURE_SECTION_NAME: &str = ".signature";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SIGNATURE_SECTION_NAME` is never used
[INFO] [stdout]  --> src/bin/signtool.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const SIGNATURE_SECTION_NAME: &str = ".signature";
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.71s
[INFO] running `Command { std: "docker" "inspect" "6ec4ad76b9d55e529eb70cef2e635df2c9c38a58824ccf9dacd9366d33408e51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6ec4ad76b9d55e529eb70cef2e635df2c9c38a58824ccf9dacd9366d33408e51", kill_on_drop: false }`
[INFO] [stdout] 6ec4ad76b9d55e529eb70cef2e635df2c9c38a58824ccf9dacd9366d33408e51
